<?php

//cronname:cron_cleanup_orders
//hour:1
//minute:10

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

global $_G;

$time = time() - 3600 * 24 * 7;
DB::query("DELETE FROM %t WHERE `dateline` < %d AND `status` = 0", array('common_payment_order', $time));
